const path = require('path');

let str = 'D:\\nodeJS\\13-path\\代码\\path.js'

console.log(path.extname(str))
